{smcl}
{txt}{sf}{ul off}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}E:\Github\Bolivia\00_replication_files\log-files/3_Table_B1.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}25 Jan 2022, 22:40:01
{txt}
{com}. 
. timer on 2
{txt}
{com}. 
. *-----------*
. * Table B.1 *
. *-----------*
.         * Master data
.         use "data/outputs/computo_ulttranstrepdate_missingsatmunmedian.dta", clear
{txt}
{com}. 
.         global educ "ed_prim ed_sec analfabetismo"
{txt}
{com}. 
.         drop if Pais != "Bolivia"
{txt}(1,507 observations deleted)

{com}. 
.         * Trimming
.         cumul trep_date_ulttrans, gen(cum_date)
{txt}
{com}.         drop if cum_date <= 0.02 | cum_date >= 0.98
{txt}(1,321 observations deleted)

{com}.         drop cum_date
{txt}
{com}.                 
.         * Margin
.         gen mmargin_nbnn_so = mshare_nbnn_so - cshare_nbnn_so
{txt}(3 missing values generated)

{com}. 
.         * Without this, Stata can't calculate the right ROT bandwidth
.         su trep_date_ulttrans, d

                {txt}Last transmission time stamp
{hline 61}
      Percentiles      Smallest
 1%    {res} 1.89e+12       1.89e+12
{txt} 5%    {res} 1.89e+12       1.89e+12
{txt}10%    {res} 1.89e+12       1.89e+12       {txt}Obs         {res}     31,727
{txt}25%    {res} 1.89e+12       1.89e+12       {txt}Sum of Wgt. {res}     31,727

{txt}50%    {res} 1.89e+12                      {txt}Mean          {res} 1.89e+12
                        {txt}Largest       Std. Dev.     {res}  2348106
{txt}75%    {res} 1.89e+12       1.89e+12
{txt}90%    {res} 1.89e+12       1.89e+12       {txt}Variance      {res} 5.51e+12
{txt}95%    {res} 1.89e+12       1.89e+12       {txt}Skewness      {res} .2267158
{txt}99%    {res} 1.89e+12       1.89e+12       {txt}Kurtosis      {res} 2.589364
{txt}
{com}.         local global_mean = r(mean)
{txt}
{com}.         local global_sd = r(sd)
{txt}
{com}.         gen trep_date_ulttrans_norm = (trep_date_ulttrans - `global_mean') / `global_sd'
{txt}
{com}. 
.         egen muni_id = group(Pais Dep Prov Muni)
{txt}
{com}. 
.         * No controls
.         reg mmargin_nbnn_so trep_date_ulttrans_norm, cluster(muni_id)

{txt}Linear regression                               Number of obs     = {res}    31,724
                                                {txt}F(1, 339)         =  {res}     4.57
                                                {txt}Prob > F          = {res}    0.0333
                                                {txt}R-squared         = {res}    0.0278
                                                {txt}Root MSE          =    {res} .43852

{txt}{ralign 89:(Std. Err. adjusted for {res:340} clusters in muni_id)}
{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 25}{c |}{col 37}    Robust
{col 1}        mmargin_nbnn_so{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
trep_date_ulttrans_norm {c |}{col 25}{res}{space 2} .0741751{col 37}{space 2} .0347056{col 48}{space 1}    2.14{col 57}{space 3}0.033{col 65}{space 4} .0059096{col 78}{space 3} .1424406
{txt}{space 18}_cons {c |}{col 25}{res}{space 2} .1078485{col 37}{space 2} .0630705{col 48}{space 1}    1.71{col 57}{space 3}0.088{col 65}{space 4}-.0162104{col 78}{space 3} .2319073
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}.         outreg2 using "outputs/generated/Table_B1.tex", ///
>                 replace tex(frag) bdec(3) keep(trep_date_ulttrans_norm) nocon label noaster
{txt}{stata `"shellout using `"outputs/generated/Table_B1.tex"'"':outputs/generated/Table_B1.tex}
{browse `"E:\Github\Bolivia\00_replication_files"' :dir}{com} : {txt}{stata `"seeout using "outputs/generated/Table_B1.txt", label"':seeout}

{com}. 
.         * + Lowlands
.         reg mmargin_nbnn_so trep_date_ulttrans_norm medialuna, cluster(muni_id)

{txt}Linear regression                               Number of obs     = {res}    31,724
                                                {txt}F(2, 339)         =  {res}     5.21
                                                {txt}Prob > F          = {res}    0.0059
                                                {txt}R-squared         = {res}    0.1132
                                                {txt}Root MSE          =    {res} .41882

{txt}{ralign 89:(Std. Err. adjusted for {res:340} clusters in muni_id)}
{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 25}{c |}{col 37}    Robust
{col 1}        mmargin_nbnn_so{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
trep_date_ulttrans_norm {c |}{col 25}{res}{space 2}  .043437{col 37}{space 2} .0239596{col 48}{space 1}    1.81{col 57}{space 3}0.071{col 65}{space 4}-.0036911{col 78}{space 3} .0905651
{txt}{space 14}medialuna {c |}{col 25}{res}{space 2}-.2771838{col 37}{space 2} .1009355{col 48}{space 1}   -2.75{col 57}{space 3}0.006{col 65}{space 4}-.4757226{col 78}{space 3}-.0786449
{txt}{space 18}_cons {c |}{col 25}{res}{space 2} .2093331{col 37}{space 2} .0713133{col 48}{space 1}    2.94{col 57}{space 3}0.004{col 65}{space 4} .0690609{col 78}{space 3} .3496054
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}.         outreg2 using "outputs/generated/Table_B1.tex", ///
>                 append tex(frag) bdec(3) keep(trep_date_ulttrans_norm) nocon label noaster
{txt}{stata `"shellout using `"outputs/generated/Table_B1.tex"'"':outputs/generated/Table_B1.tex}
{browse `"E:\Github\Bolivia\00_replication_files"' :dir}{com} : {txt}{stata `"seeout using "outputs/generated/Table_B1.txt", label"':seeout}

{com}. 
.         * + Rural + education
.         reg mmargin_nbnn_so trep_date_ulttrans_norm medialuna ln_density ///
>                 ln_aglabor logpop ln_dist_capital $educ, cluster(muni_id)

{txt}Linear regression                               Number of obs     = {res}    31,599
                                                {txt}F(9, 336)         =  {res}   166.56
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.5334
                                                {txt}Root MSE          =    {res} .30367

{txt}{ralign 89:(Std. Err. adjusted for {res:337} clusters in muni_id)}
{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 25}{c |}{col 37}    Robust
{col 1}        mmargin_nbnn_so{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
trep_date_ulttrans_norm {c |}{col 25}{res}{space 2}  .036668{col 37}{space 2} .0130424{col 48}{space 1}    2.81{col 57}{space 3}0.005{col 65}{space 4}  .011013{col 78}{space 3} .0623229
{txt}{space 14}medialuna {c |}{col 25}{res}{space 2}-.3362137{col 37}{space 2} .0373557{col 48}{space 1}   -9.00{col 57}{space 3}0.000{col 65}{space 4}-.4096943{col 78}{space 3}-.2627332
{txt}{space 13}ln_density {c |}{col 25}{res}{space 2}-.0950706{col 37}{space 2} .0138763{col 48}{space 1}   -6.85{col 57}{space 3}0.000{col 65}{space 4}-.1223661{col 78}{space 3}-.0677752
{txt}{space 13}ln_aglabor {c |}{col 25}{res}{space 2}-.1128989{col 37}{space 2} .0416575{col 48}{space 1}   -2.71{col 57}{space 3}0.007{col 65}{space 4}-.1948412{col 78}{space 3}-.0309566
{txt}{space 17}logpop {c |}{col 25}{res}{space 2} .0572582{col 37}{space 2} .0218833{col 48}{space 1}    2.62{col 57}{space 3}0.009{col 65}{space 4} .0142126{col 78}{space 3} .1003038
{txt}{space 8}ln_dist_capital {c |}{col 25}{res}{space 2} .0374995{col 37}{space 2} .0178145{col 48}{space 1}    2.11{col 57}{space 3}0.036{col 65}{space 4} .0024575{col 78}{space 3} .0725415
{txt}{space 16}ed_prim {c |}{col 25}{res}{space 2} .0218402{col 37}{space 2} .0036015{col 48}{space 1}    6.06{col 57}{space 3}0.000{col 65}{space 4} .0147559{col 78}{space 3} .0289246
{txt}{space 17}ed_sec {c |}{col 25}{res}{space 2} .0084305{col 37}{space 2} .0042172{col 48}{space 1}    2.00{col 57}{space 3}0.046{col 65}{space 4} .0001352{col 78}{space 3} .0167259
{txt}{space 10}analfabetismo {c |}{col 25}{res}{space 2} .0135265{col 37}{space 2}  .004691{col 48}{space 1}    2.88{col 57}{space 3}0.004{col 65}{space 4} .0042992{col 78}{space 3} .0227539
{txt}{space 18}_cons {c |}{col 25}{res}{space 2}-.7058539{col 37}{space 2} .2916419{col 48}{space 1}   -2.42{col 57}{space 3}0.016{col 65}{space 4}-1.279528{col 78}{space 3}  -.13218
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}.         outreg2 using "outputs/generated/Table_B1.tex", ///
>                 append tex(frag) bdec(3) keep(trep_date_ulttrans_norm) nocon label noaster
{txt}{stata `"shellout using `"outputs/generated/Table_B1.tex"'"':outputs/generated/Table_B1.tex}
{browse `"E:\Github\Bolivia\00_replication_files"' :dir}{com} : {txt}{stata `"seeout using "outputs/generated/Table_B1.txt", label"':seeout}

{com}. 
.         * + 2016 MAS vote margin
.         reg mmargin_nbnn_so trep_date_ulttrans_norm medialuna ln_density ///
>                 ln_aglabor logpop ln_dist_capital $educ margin2016, cluster(muni_id)

{txt}Linear regression                               Number of obs     = {res}    30,932
                                                {txt}F(10, 336)        =  {res}   551.20
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.8878
                                                {txt}Root MSE          =    {res}  .1486

{txt}{ralign 89:(Std. Err. adjusted for {res:337} clusters in muni_id)}
{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 25}{c |}{col 37}    Robust
{col 1}        mmargin_nbnn_so{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
trep_date_ulttrans_norm {c |}{col 25}{res}{space 2} .0191811{col 37}{space 2} .0032598{col 48}{space 1}    5.88{col 57}{space 3}0.000{col 65}{space 4} .0127689{col 78}{space 3} .0255933
{txt}{space 14}medialuna {c |}{col 25}{res}{space 2}-.0177787{col 37}{space 2} .0255752{col 48}{space 1}   -0.70{col 57}{space 3}0.487{col 65}{space 4}-.0680863{col 78}{space 3} .0325289
{txt}{space 13}ln_density {c |}{col 25}{res}{space 2}-.0110851{col 37}{space 2} .0044195{col 48}{space 1}   -2.51{col 57}{space 3}0.013{col 65}{space 4}-.0197784{col 78}{space 3}-.0023918
{txt}{space 13}ln_aglabor {c |}{col 25}{res}{space 2}-.0161334{col 37}{space 2} .0222719{col 48}{space 1}   -0.72{col 57}{space 3}0.469{col 65}{space 4}-.0599434{col 78}{space 3} .0276765
{txt}{space 17}logpop {c |}{col 25}{res}{space 2}-.0040075{col 37}{space 2}  .011371{col 48}{space 1}   -0.35{col 57}{space 3}0.725{col 65}{space 4}-.0263748{col 78}{space 3} .0183599
{txt}{space 8}ln_dist_capital {c |}{col 25}{res}{space 2}  .010718{col 37}{space 2}  .008675{col 48}{space 1}    1.24{col 57}{space 3}0.218{col 65}{space 4}-.0063461{col 78}{space 3} .0277821
{txt}{space 16}ed_prim {c |}{col 25}{res}{space 2} .0011012{col 37}{space 2} .0017892{col 48}{space 1}    0.62{col 57}{space 3}0.539{col 65}{space 4}-.0024183{col 78}{space 3} .0046207
{txt}{space 17}ed_sec {c |}{col 25}{res}{space 2}-.0009858{col 37}{space 2} .0021214{col 48}{space 1}   -0.46{col 57}{space 3}0.642{col 65}{space 4}-.0051586{col 78}{space 3}  .003187
{txt}{space 10}analfabetismo {c |}{col 25}{res}{space 2} .0031887{col 37}{space 2} .0022481{col 48}{space 1}    1.42{col 57}{space 3}0.157{col 65}{space 4}-.0012333{col 78}{space 3} .0076108
{txt}{space 13}margin2016 {c |}{col 25}{res}{space 2} .9345507{col 37}{space 2} .0305252{col 48}{space 1}   30.62{col 57}{space 3}0.000{col 65}{space 4} .8745061{col 78}{space 3} .9945952
{txt}{space 18}_cons {c |}{col 25}{res}{space 2} .2422081{col 37}{space 2} .1946235{col 48}{space 1}    1.24{col 57}{space 3}0.214{col 65}{space 4}-.1406259{col 78}{space 3} .6250421
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}.         outreg2 using "outputs/generated/Table_B1.tex", ///
>                 append tex(frag) bdec(3) keep(trep_date_ulttrans_norm) nocon label noaster
{txt}{stata `"shellout using `"outputs/generated/Table_B1.tex"'"':outputs/generated/Table_B1.tex}
{browse `"E:\Github\Bolivia\00_replication_files"' :dir}{com} : {txt}{stata `"seeout using "outputs/generated/Table_B1.txt", label"':seeout}

{com}. 
.         * + 2016 MAS vote margin interacted with region dummys
.         quietly tab Dep, gen(dum_dep)
{txt}
{com}.         forvalues k = 1/9 {c -(}
{txt}  2{com}.                 gen dum_dep`k'_margin = dum_dep`k' * margin2016
{txt}  3{com}.         {c )-}
{txt}(685 missing values generated)
(685 missing values generated)
(685 missing values generated)
(685 missing values generated)
(685 missing values generated)
(685 missing values generated)
(685 missing values generated)
(685 missing values generated)
(685 missing values generated)

{com}. 
.         reg mmargin_nbnn_so trep_date_ulttrans_norm medialuna ln_density ln_aglabor logpop ///
>                 ln_dist_capital $educ margin2016 dum_dep*, cluster(muni_id)
{txt}note: dum_dep2 omitted because of collinearity
note: dum_dep9 omitted because of collinearity
note: dum_dep1_margin omitted because of collinearity

Linear regression                               Number of obs     = {res}    30,932
                                                {txt}F(25, 336)        =  {res}  1040.46
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.8964
                                                {txt}Root MSE          =    {res} .14281

{txt}{ralign 89:(Std. Err. adjusted for {res:337} clusters in muni_id)}
{hline 24}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 25}{c |}{col 37}    Robust
{col 1}        mmargin_nbnn_so{col 25}{c |}      Coef.{col 37}   Std. Err.{col 49}      t{col 57}   P>|t|{col 65}     [95% Con{col 78}f. Interval]
{hline 24}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
trep_date_ulttrans_norm {c |}{col 25}{res}{space 2} .0078208{col 37}{space 2} .0018869{col 48}{space 1}    4.14{col 57}{space 3}0.000{col 65}{space 4} .0041092{col 78}{space 3} .0115324
{txt}{space 14}medialuna {c |}{col 25}{res}{space 2} .0863179{col 37}{space 2} .0335076{col 48}{space 1}    2.58{col 57}{space 3}0.010{col 65}{space 4} .0204069{col 78}{space 3}  .152229
{txt}{space 13}ln_density {c |}{col 25}{res}{space 2}-.0125328{col 37}{space 2} .0040887{col 48}{space 1}   -3.07{col 57}{space 3}0.002{col 65}{space 4}-.0205755{col 78}{space 3}-.0044901
{txt}{space 13}ln_aglabor {c |}{col 25}{res}{space 2}-.0373202{col 37}{space 2} .0251559{col 48}{space 1}   -1.48{col 57}{space 3}0.139{col 65}{space 4} -.086803{col 78}{space 3} .0121626
{txt}{space 17}logpop {c |}{col 25}{res}{space 2}-.0003812{col 37}{space 2} .0108097{col 48}{space 1}   -0.04{col 57}{space 3}0.972{col 65}{space 4}-.0216445{col 78}{space 3} .0208821
{txt}{space 8}ln_dist_capital {c |}{col 25}{res}{space 2} .0124233{col 37}{space 2} .0089352{col 48}{space 1}    1.39{col 57}{space 3}0.165{col 65}{space 4}-.0051528{col 78}{space 3} .0299993
{txt}{space 16}ed_prim {c |}{col 25}{res}{space 2} .0026521{col 37}{space 2} .0018501{col 48}{space 1}    1.43{col 57}{space 3}0.153{col 65}{space 4}-.0009872{col 78}{space 3} .0062914
{txt}{space 17}ed_sec {c |}{col 25}{res}{space 2}-.0016375{col 37}{space 2} .0018837{col 48}{space 1}   -0.87{col 57}{space 3}0.385{col 65}{space 4}-.0053428{col 78}{space 3} .0020678
{txt}{space 10}analfabetismo {c |}{col 25}{res}{space 2}  .004054{col 37}{space 2} .0023852{col 48}{space 1}    1.70{col 57}{space 3}0.090{col 65}{space 4}-.0006378{col 78}{space 3} .0087458
{txt}{space 13}margin2016 {c |}{col 25}{res}{space 2} .8291849{col 37}{space 2} .0878736{col 48}{space 1}    9.44{col 57}{space 3}0.000{col 65}{space 4} .6563332{col 78}{space 3} 1.002037
{txt}{space 15}dum_dep1 {c |}{col 25}{res}{space 2} .0522113{col 37}{space 2} .0450449{col 48}{space 1}    1.16{col 57}{space 3}0.247{col 65}{space 4}-.0363943{col 78}{space 3} .1408168
{txt}{space 15}dum_dep2 {c |}{col 25}{res}{space 2}        0{col 37}{txt}  (omitted)
{space 15}dum_dep3 {c |}{col 25}{res}{space 2} .0802809{col 37}{space 2} .0269953{col 48}{space 1}    2.97{col 57}{space 3}0.003{col 65}{space 4} .0271799{col 78}{space 3} .1333819
{txt}{space 15}dum_dep4 {c |}{col 25}{res}{space 2} .0629011{col 37}{space 2} .0248124{col 48}{space 1}    2.54{col 57}{space 3}0.012{col 65}{space 4}  .014094{col 78}{space 3} .1117083
{txt}{space 15}dum_dep5 {c |}{col 25}{res}{space 2} .0567227{col 37}{space 2} .0285695{col 48}{space 1}    1.99{col 57}{space 3}0.048{col 65}{space 4}  .000525{col 78}{space 3} .1129203
{txt}{space 15}dum_dep6 {c |}{col 25}{res}{space 2} -.022332{col 37}{space 2} .0407136{col 48}{space 1}   -0.55{col 57}{space 3}0.584{col 65}{space 4}-.1024177{col 78}{space 3} .0577537
{txt}{space 15}dum_dep7 {c |}{col 25}{res}{space 2}  .134492{col 37}{space 2} .0212413{col 48}{space 1}    6.33{col 57}{space 3}0.000{col 65}{space 4} .0927092{col 78}{space 3} .1762747
{txt}{space 15}dum_dep8 {c |}{col 25}{res}{space 2}-.0498954{col 37}{space 2}   .03107{col 48}{space 1}   -1.61{col 57}{space 3}0.109{col 65}{space 4}-.1110117{col 78}{space 3} .0112209
{txt}{space 15}dum_dep9 {c |}{col 25}{res}{space 2}        0{col 37}{txt}  (omitted)
{space 8}dum_dep1_margin {c |}{col 25}{res}{space 2}        0{col 37}{txt}  (omitted)
{space 8}dum_dep2_margin {c |}{col 25}{res}{space 2} .0833788{col 37}{space 2} .0986503{col 48}{space 1}    0.85{col 57}{space 3}0.399{col 65}{space 4}-.1106713{col 78}{space 3} .2774289
{txt}{space 8}dum_dep3_margin {c |}{col 25}{res}{space 2} .1686738{col 37}{space 2} .0980537{col 48}{space 1}    1.72{col 57}{space 3}0.086{col 65}{space 4}-.0242027{col 78}{space 3} .3615503
{txt}{space 8}dum_dep4_margin {c |}{col 25}{res}{space 2} .1396853{col 37}{space 2} .0940549{col 48}{space 1}    1.49{col 57}{space 3}0.138{col 65}{space 4}-.0453254{col 78}{space 3} .3246959
{txt}{space 8}dum_dep5_margin {c |}{col 25}{res}{space 2} .2298143{col 37}{space 2}  .103888{col 48}{space 1}    2.21{col 57}{space 3}0.028{col 65}{space 4} .0254615{col 78}{space 3} .4341671
{txt}{space 8}dum_dep6_margin {c |}{col 25}{res}{space 2} -.113204{col 37}{space 2} .0921797{col 48}{space 1}   -1.23{col 57}{space 3}0.220{col 65}{space 4} -.294526{col 78}{space 3}  .068118
{txt}{space 8}dum_dep7_margin {c |}{col 25}{res}{space 2} -.023826{col 37}{space 2} .0937787{col 48}{space 1}   -0.25{col 57}{space 3}0.800{col 65}{space 4}-.2082933{col 78}{space 3} .1606414
{txt}{space 8}dum_dep8_margin {c |}{col 25}{res}{space 2} .1433297{col 37}{space 2} .0869342{col 48}{space 1}    1.65{col 57}{space 3}0.100{col 65}{space 4}-.0276742{col 78}{space 3} .3143335
{txt}{space 8}dum_dep9_margin {c |}{col 25}{res}{space 2}  .032448{col 37}{space 2}  .094878{col 48}{space 1}    0.34{col 57}{space 3}0.733{col 65}{space 4}-.1541817{col 78}{space 3} .2190777
{txt}{space 18}_cons {c |}{col 25}{res}{space 2} .1559943{col 37}{space 2} .1838606{col 48}{space 1}    0.85{col 57}{space 3}0.397{col 65}{space 4}-.2056686{col 78}{space 3} .5176571
{txt}{hline 24}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}.         outreg2 using "outputs/generated/Table_B1.tex", ///
>                 append tex(frag) bdec(3) keep(trep_date_ulttrans_norm) nocon label noaster
{txt}{stata `"shellout using `"outputs/generated/Table_B1.tex"'"':outputs/generated/Table_B1.tex}
{browse `"E:\Github\Bolivia\00_replication_files"' :dir}{com} : {txt}{stata `"seeout using "outputs/generated/Table_B1.txt", label"':seeout}

{com}.         
.         * Formatting    
.         erase "outputs/generated/Table_B1.txt"
{txt}
{com}. 
.         insheet using "outputs/generated/Table_B1.tex", clear 
{txt}(1 var, 11 obs)

{com}. 
.         keep if _n >= 5 & _n <= 9
{txt}(6 observations deleted)

{com}. 
.         replace v1 = subinstr(v1,"\hline","",.)
{txt}(1 real change made)

{com}.         replace v1 = "\midrule" if v1 == "&  &  &  &  &  \\"
{txt}(1 real change made)

{com}. 
.         replace v1 = subinstr(v1,"trep\_date\_ulttrans\_norm","Transmission Time",.)
{txt}(1 real change made)

{com}. 
.         compress
  {txt}variable {bf}v1{sf} was {bf}{res}str119{sf}{txt} now {bf}{res}str60{sf}
{txt}  (295 bytes saved)

{com}.         outsheet using "outputs/generated/Table_B1.tex", replace noname noquote nolabel
{txt}
{com}. 
. *------------------------------------------------------------------------------*
. timer off 2
{txt}
{com}. timer list 2
{res}   2:      0.82 /        1 =       0.8230
{txt}
{com}. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}E:\Github\Bolivia\00_replication_files\log-files/3_Table_B1.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}25 Jan 2022, 22:40:02
{txt}{.-}
{smcl}
{txt}{sf}{ul off}